<template>
<div>
    <bread-crumb :crumbItems="crumbItems" :pageTitle="pageTitle"></bread-crumb>
    <Card :bordered="false" dis-hover>
         <div class="container page-wrap w1250">
            <div class="news-detail-title">
              <h1>{{details.Title}}</h1>
              <p class="text-center">
                <span>发布日期：{{details.CREATE_TIME | getYMD}}</span>
                <span>浏览量：{{details.BrowseNum || 0}}</span>
                <span v-show="false">来源：{{details.chinesename}}</span>
              </p>
            </div>
            <div class="news-detail-content">
                <p v-html="details.Content"></p>
            </div>
          </div>
    </Card>
</div>
</template>
<script>
export default {
    data (){
        return {
            details:{},
            crumbItems:[{
                title:'资讯中心列表',
                path:'/front/newsList'
            }],
            pageTitle: '资讯中心详情'
        }
    },mounted(){
    },methods:{
        getData(){
          var self = this;

            this.axios.get('/api/news/details/' + this.$route.params.guid)
            .then(function(res){
                self.details=res;
            })

        },
    },created(){
        this.getData();
    },activated(){
        this.getData();
    }
}
</script>